import { ApiProperty } from '@midwayjs/swagger'

import { BaseVO } from './base.vo'

/**
 * 角色结果
 */
export class RoleVO
  extends BaseVO
  implements Omit<ISysRoleEntity, 'users' | 'depts' | 'menus'>
{
  @ApiProperty({ description: '主键' })
  roleId: string

  @ApiProperty({ description: '角色名称' })
  roleName: string

  @ApiProperty({ description: '角色权限字符串' })
  roleKey: string

  @ApiProperty({ description: '显示顺序' })
  roleSort: number

  @ApiProperty({ description: '角色状态' })
  status: string

  @ApiProperty({ description: '删除标志' })
  delFlag: string

  @ApiProperty({ description: '备注' })
  remark: string
}
